package com.gjy.design.bridge.draw;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 09:19:02
 */
public class Circle extends Shape {

    private final double x, y, radius;

    public Circle(double x, double y, double radius, DrawingAPI drawingAPI) {
        super(drawingAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        drawingAPI.drawCircle(x, y, radius);
    }

}
